<template>
    <div class="dee-index-container">
        {{data}}
    </div>
</template>
<script>
  export default {
    data() {
      return {
        data: '主页'
      };
    },
    beforeRouteEnter(to, from, next) {
      console.log(1111111111111);
      next((that) => {
        that.$router.replace({
          path: ` /list?projectId=${that.$route.query.projectId}`
        });
      });
    }

  };
</script>
<style lang="scss" scoped>
    .dee-index-container{
        width: 100%;
        height: 100%;
        background-color: #fff;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
    }
</style>
